from django.urls import path, re_path
from . import views


urlpatterns = [
    path('', views.OrderListView.as_view({'get': 'orderList', })),
    path('create/', views.OrderCreateView.as_view()),
    re_path(r'myorders/(?P<pk>\d+)', views.MyOrderView.as_view()),
    ]